﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using Lswweb.Domain;
using Lswweb.Model;

namespace Lswweb.Controls
{
    public class UserSignOut : LinkButton
    {
        public UserSignOut()
        {
            this.Click += new EventHandler(UserLogOut_Click);
            this.Text = ResourceManagement.Content.Strings["Exit"];
        }

        void UserLogOut_Click(object sender, EventArgs e)
        {
            UserSecurity.SignOut();
        }
    }
}
